Ext.define("wmf.view.role.Edit", {
    extend: "Ext.window.Window",
    alias: "widget.roleedit",
    title: "test",
    width: 300,
    height: 200,
    layout: "fit",

    items: {
        xtype: "form",
        margin: 5,
        border: false,
        fieldDefaults: {
            labelAlign: 'left',
            labelWidth: 60
        },
        items: [
            { xtype: "textfield", name: "name", fieldLabel: "test" },
            { xtype: "numberfield", name: "age", fieldLabel: "test" },
            { xtype: "textfield", name: "phone", fieldLabel: "test" }
        ]
    },
    buttons: [
        { text: "test", action: "save" }
    ]
});